<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title>会员详情</title>
		<link rel="stylesheet" href="__AGENT__/css/css.css" />
		<script type="text/javascript" src="__PUBLIC__/static/js/jquery.min.js"></script>
		<link rel="stylesheet" href="__PUBLIC__/static/layui/css/layui.css">
		<script src="__PUBLIC__/static/layui/layui.js"></script>
	</head>

	<body>
		<div class="right"> 
			<div class="chax_conbox">
				<div class="chax_jiegbt clearfix">
					<div class="chax_jieg">会员总计： {$user_number}个,累积充值: {$agent_cz?$agent_cz : 0}</div>
					<div class="chax_xzbtnbox">
						<a href="#" onclick="check()"><i class="iconfont icon-daochu"></i>导出</a>
					</div>
				</div>
				<div class="chax_jiegnr">
					<table class="zizh_table1">
						<thead>
							<tr>
								<th style="width: 50px;">会员编号</th>
								<th style="width: 70px;">会员名</th>
								<th style="width: 70px;">手机号</th>
								<th style="width: 70px;">鼓励金</th>
								<th style="width: 70px;">累计购买</th>
								<th style="width: 70px;">我的分佣</th>
								<th style="width: 70px;">累计推广</th>
								<th style="width: 40px;">性别</th>
								<th style="width: 70px;">上级会员</th>
							</tr>
						</thead>
						<tbody id="tbody">
	                		{volist name="list" id="vo" empty="$empty"}
							<tr style="text-align: center">
								<td>{$vo.id}</td>
								<td>{$vo.nickname}</td>
								<td>{$vo.mobile}</td>
								<td>{$vo.score}</td>
								<td>{if $vo.czs}{$vo.czs}{else}0{/if}</td>
								<td>{if $vo.scs}{$vo.scs}{else}0{/if}</td>
								<td>{if $vo.tjs}{$vo.tjs}{else}0{/if}</td>
								<td>{$vo.sex}</td>
								<td>{$vo.smobile}</td>
													
							</tr>
							{/volist}        
						</tbody>
					</table>
  					<div class="fenye" style="display: block;">
						{$list->render()}
					</div>
				</div>
			</div>
		</div>

	</body>

</html>
<script type="text/javascript" src="__PUBLIC__/static/js/jquery.min.js"></script>
<link rel="stylesheet" href="__PUBLIC__/static/layui/css/layui.css">
<script src="__PUBLIC__/static/layui/layui.all.js"></script>
<script>
	//注意：折叠面板 依赖 element 模块，否则无法进行功能性操作
	layui.use('element', function() {
		var element = layui.element;

	});

	function sel_content() {
		var content = document.body.innerHTML;
		var condition = $('#condition').val();
		var result = content.indexOf(condition);

	}

	layui.use('laydate', function() {
		var laydate = layui.laydate;

		//日期控件
		laydate.render({
			elem: '#begin_time',
			type: 'datetime',
			format: 'yyyy-MM-dd HH:mm:ss'
		});

		laydate.render({
			elem: '#end_time',
			type: 'datetime',
			format: 'yyyy-MM-dd HH:mm:ss'
		});
	})
</script>